package com.ezgo.erc.service;

import java.util.List;
import java.util.Map;

import com.ezgo.erc.entity.Sysdict;
import com.ezgo.erc.master.exception.ServiceException;
import com.ezgo.erc.master.utils.Page;

public interface SysdictService {

	boolean saveDict(Sysdict sysdict) throws ServiceException;

	boolean updateDict(Sysdict sysdict) throws ServiceException;

	boolean deleteDict(Long id) throws ServiceException;

	Page<Sysdict> getDictPage(Page<Sysdict> page, Map<String, Object> map) throws ServiceException;

	Sysdict getDict(Long id);

	List<Sysdict> getDictList(Map<String, Object> map);
}
